package studentinformationmanagementsystem.entity;

/**
 * @author 苗庆
 * @version 1.0
 * 成绩
 */
public class GradeTable {

    //成绩表id
    private Integer gradeTableId;

    //学生id
    private Integer studid;

    //课程id
    private Integer courseid;

    //教师id
    private Integer teacherid;

    // 期末成绩
    private String finalGrade;

    //平时成绩
    private String usualPerformance;

    //学分
    private String creditHour;

    //最终成绩
    private String finalScore;

    //是否已经删除 0未删除 1已经删除
    private Integer IsDelete;

    public GradeTable(Integer gradeTableId, Integer studid, Integer courseid, Integer teacherid, String finalGrade, String usualPerformance, String creditHour, String finalScore, Integer isDelete) {
        this.gradeTableId = gradeTableId;
        this.studid = studid;
        this.courseid = courseid;
        this.teacherid = teacherid;
        this.finalGrade = finalGrade;
        this.usualPerformance = usualPerformance;
        this.creditHour = creditHour;
        this.finalScore = finalScore;
        IsDelete = isDelete;
    }

    public GradeTable() {
    }

    @Override
    public String toString() {
        return "GradeTableId{" +
                "gradeTableId=" + gradeTableId +
                ", studid=" + studid +
                ", courseid=" + courseid +
                ", teacherid=" + teacherid +
                ", finalGrade='" + finalGrade + '\'' +
                ", usualPerformance='" + usualPerformance + '\'' +
                ", creditHour='" + creditHour + '\'' +
                ", finalScore='" + finalScore + '\'' +
                ", IsDelete=" + IsDelete +
                '}';
    }

    public Integer getGradeTableId() {
        return gradeTableId;
    }

    public void setGradeTableId(Integer gradeTableId) {
        this.gradeTableId = gradeTableId;
    }

    public Integer getStudid() {
        return studid;
    }

    public void setStudid(Integer studid) {
        this.studid = studid;
    }

    public Integer getCourseid() {
        return courseid;
    }

    public void setCourseid(Integer courseid) {
        this.courseid = courseid;
    }

    public Integer getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(Integer teacherid) {
        this.teacherid = teacherid;
    }

    public String getFinalGrade() {
        return finalGrade;
    }

    public void setFinalGrade(String finalGrade) {
        this.finalGrade = finalGrade;
    }

    public String getUsualPerformance() {
        return usualPerformance;
    }

    public void setUsualPerformance(String usualPerformance) {
        this.usualPerformance = usualPerformance;
    }

    public String getCreditHour() {
        return creditHour;
    }

    public void setCreditHour(String creditHour) {
        this.creditHour = creditHour;
    }

    public String getFinalScore() {
        return finalScore;
    }

    public void setFinalScore(String finalScore) {
        this.finalScore = finalScore;
    }

    public Integer getIsDelete() {
        return IsDelete;
    }

    public void setIsDelete(Integer isDelete) {
        IsDelete = isDelete;
    }

}
